<?php
/**
 * Created by PhpStorm.
 * @author LiShaoWei
 * @param Date : 2016/5/23
 * @param Time : 16:44
 * @since 1.0
 */
use app\assets\AppAsset;
//AppAsset::addCss($this, 'css/reset.css');
//AppAsset::addCss($this, 'css/style.css');
//AppAsset::addCss($this, 'css/style.css');
//AppAsset::addScript($this, 'js/jquery.min.js');
//AppAsset::addScript($this, 'js/jquery.jplayer.min.js');
//AppAsset::addScript($this, 'js/jplayer.playlist.min.js');
//AppAsset::addScript($this, 'js/index.js');
?>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.js"></script>
<div>
    <font id="a">点赞</font>
</div>
<script>
    $a={"a":"3"};
    $('#a').click(function(){
        $.post('appspost',$a,function($re){
            alert($re);
        });
    })
</script>
